using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UR5Scene_TestPanel : MonoBehaviour
{ 

    public UR5_NetScene_GetAndSetAngleData ur5_NetScene_GetAndSetAngleData{ get; private set; }
    public MA_Joint1Contol ma_joint1Contol { get; private set; }

    public GameObject angleObject;

    public float angleInput1;

    private void Awake()
    {
        ur5_NetScene_GetAndSetAngleData = new UR5_NetScene_GetAndSetAngleData();
        ma_joint1Contol = new MA_Joint1Contol();
    }

    public void StartRunning()
    {
        angleInput1 = angleObject.GetComponent<UR5_NetScene_GetAndSetAngleData>().angleData[0];

        //ur5_NetScene_GetAndSetAngleData.getAngleTest();
        ma_joint1Contol.MA_Joint1Start(); 
    }
}
